home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0082-Re Sytem errors onl-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-16  |  1.5 KB  |  39 lines  |  [TEXT/GEOL]

  1. Item    3555628                         14-Oct-89        13:08
  2.  
  3. From:   D0420                           Satori SW, Hugh Rogovy,PRT
  4.  
  5. To:     D2652                           Strategic Planning Sys, D Bell,PRT
  6.         MACAPP.TECH$                    MACAPP Tech
  7.  
  8. Sub:    re: Sytem errors only on Plus
  9.  
  10. Danny,
  11.  
  12. The system bomb you're getting is a "stack hit heap" error.
  13. It looks like you just haven't specified a large enough stack for your
  14. app.  All you need to do is increase the 3rd value in your mem! resource
  15. to a value that will allow your app to run.
  16.  
  17.     type 'mem!' {
  18.          longint;  // add to code reserve size
  19.          longint;  // add to low space reserve size
  20.          longint;  // ****stack size*****
  21.      };
  22.  
  23. I know this seems too simple to be true, but the same thing happened to us
  24. a year ago as we were attempting to get a product out the door.  We went to
  25. the extreme of doing printing in an idle loop to keep from getting the error,
  26. only to realize later that increasing this *single* value in the resource
  27. solved all of our problems.  Generally a stack size of 20-30k is sufficient,
  28. but you should attempt to use a value that works best for your specific app.
  29.  
  30. It's possible that this isn't your problem, and I have no idea why it would
  31. only show up on a Plus(???), but if you haven't done anything with the mem!
  32. resource, it most likely is...
  33.  
  34.                             Good Luck,
  35.  
  36.                                 Chris Le Croy
  37.                                 Satori Software
  38.  
  39.